package com.sulent.frame.file.impl;

import com.sulent.frame.file.FileServer;
import com.sulent.frame.file.dto.FileVo;

import java.io.File;
import java.util.List;

/**
 * @ClassName VFSFileServer
 * @Description: 基础 Apache-commons-vfs 实现文件服务器操作
 * @Author Submerge.
 * @Since 2024/1/30 11:34
 * @Version 1.0
 */
public class VFSFileServer implements FileServer {

    @Override
    public void uploadFile(File file, String targetPath) {

    }

    @Override
    public File downloadFile(String sourceFilePath, String destinationPath) {

        return null;
    }
    @Override
    public List<FileVo> listFiles(String targetPath) {
        return null;
    }

    @Override
    public void close() throws Exception {
        System.out.println("vfs file sever close");
    }
}
